<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>后台登录</title>
<meta name="author" content="oldriver" />
<link rel="stylesheet" type="text/css" href="./Public/Admin/css/style.css" tppabs="css/style.css" />
<style>
body{height:100%;background:#16a085;overflow:hidden;}
canvas{z-index:-1;position:absolute;}
</style>
<script src="./Public/Admin/js/jquery.js"></script>
<!--<script src="./Public/Admin/js/verificationNumbers.js" tppabs="js/verificationNumbers.js"></script>-->
<script src="./Public/Admin/js/Particleground.js" tppabs="js/Particleground.js"></script>
<script>
$(document).ready(function() {
  //粒子背景特效
  $('body').particleground({
    dotColor: '#5cbdaa',
    lineColor: '#5cbdaa',
  });
  
  //验证码
		document.getElementsByClassName('ver_btn')[0].onclick=function(){//获取 点击元素
			document.getElementById('code').src="<?php echo U('Login/code')?>"+"&mt="+Math.random();//给图片后缀名加一个随机数
		}
  
});
</script>
</head>
<body>
<dl class="admin_login">
 <dt>
 	<strong>哇噻站点后台管理系统</strong>
  <em>Management System</em>
 </dt>	
 <form action="" method="post">
	 <dd class="user_icon">
	  <input type="text" placeholder="账号" class="login_txtbx" name="account"/>
	 </dd>
	 <dd class="pwd_icon">
	  <input type="password" placeholder="密码" class="login_txtbx" name="password"/>
	 </dd>
	 <dd class="val_icon">
	  <div class="checkcode">
	    <input type="text" id="J_codetext" placeholder="验证码" maxlength="4" class="login_txtbx" name="code">
	    <img src="<?php echo U('Login/code')?>" id="code"/>
	  </div>
	  <input type="button" value="更换验证码" class="ver_btn">
	 </dd>
	 <dd>
	  <input type="submit" value="立即登陆" class="submit_btn"/>
	 </dd>
 </form>
 
 <dd>
  <p>© 2015-2016 oldriver 版权所有</p>
  <p>oldriver</p>
 </dd>
</dl>
</body>
</html>
